!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define("rb_wixui.thunderbolt[SlideShowGallery_SlideShowCleanAndSimple]",["react","reactDOM"],t):"object"==typeof exports?exports["rb_wixui.thunderbolt[SlideShowGallery_SlideShowCleanAndSimple]"]=t(require("react"),require("react-dom")):e["rb_wixui.thunderbolt[SlideShowGallery_SlideShowCleanAndSimple]"]=t(e.React,e.ReactDOM)}("u">typeof self?self:this,(e,t)=>(()=>{var i={17709(e,t,i){var n;!function(t){"use strict";var a=function(){},r=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.msRequestAnimationFrame||function(e){return setTimeout(e,16)};function s(){this.reads=[],this.writes=[],this.raf=r.bind(t),a("initialized",this)}function o(e){e.scheduled||(e.scheduled=!0,e.raf(l.bind(null,e)),a("flush scheduled"))}function l(e){a("flush");var t,i=e.writes,n=e.reads;try{a("flushing reads",n.length),e.runTasks(n),a("flushing writes",i.length),e.runTasks(i)}catch(e){t=e}if(e.scheduled=!1,(n.length||i.length)&&o(e),t)if(a("task errored",t.message),e.catch)e.catch(t);else throw t}function c(e,t){var i=e.indexOf(t);return!!~i&&!!e.splice(i,1)}s.prototype={constructor:s,runTasks:function(e){var t;for(a("run tasks");t=e.shift();)t()},measure:function(e,t){a("measure");var i=t?e.bind(t):e;return this.reads.push(i),o(this),i},mutate:function(e,t){a("mutate");var i=t?e.bind(t):e;return this.writes.push(i),o(this),i},clear:function(e){return a("clear",e),c(this.reads,e)||c(this.writes,e)},extend:function(e){if(a("extend",e),"object"!=typeof e)throw Error("expected object");var t=Object.create(this);return function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])}(t,e),t.fastdom=this,t.initialize&&t.initialize(),t},catch:null};var d=t.fastdom=t.fastdom||new s;void 0===(n=(function(){return d}).call(d,i,d,e))||(e.exports=n)}("u">typeof window?window:void 0!==this?this:globalThis)},89094(e,t,i){"use strict";var n=i(87006),a=Symbol.for("react.element"),r=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,i){var n,l={},c=null,d=null;for(n in void 0!==i&&(c=""+i),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)r.call(t,n)&&!o.hasOwnProperty(n)&&(l[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===l[n]&&(l[n]=t[n]);return{$$typeof:a,type:e,key:c,ref:d,props:l,_owner:s.current}}t.jsx=l,t.jsxs=l},36870(e,t,i){"use strict";e.exports=i(89094)},87006(t){"use strict";t.exports=e},45904(e){"use strict";e.exports=t}},n={};function a(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return i[e].call(r.exports,r,r.exports,a),r.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";let e;a.r(r),a.d(r,{components:()=>tj});var t={};a.r(t),a.d(t,{ke:()=>eJ,G_:()=>eX});var i=a(36870),n=a(87006),s=a.n(n);let o=function(){for(var e,t,i=0,n="";i{t.keyCode===e&&(t.preventDefault(),t.stopPropagation(),t.currentTarget.click())}}let c=l(32),d=l(13),u=e=>{d(e),c(e)};l(27);let h=e=>Object.entries(e).reduce((e,[t,i])=>(t.includes("data-")&&(e[t]=i),e),{}),p="wixui-",m=(e,...t)=>{let i=[];return e&&i.push(`${p}${e}`),t.forEach(e=>{e&&(i.push(`${p}${e}`),i.push(e))}),i.join(" ")},g={left:"onSwipeLeft",right:"onSwipeRight",up:"onSwipeUp",down:"onSwipeDown"},f=e=>{if(e.touches&&e.touches.length){let t=e.touches[0];return{x:t.pageX,y:t.pageY}}},_={touched:!0,moved:!1,deltaCoords:{x:0,y:0}},E=(e,t,i)=>n.useEffect(()=>{let n,a=e=>{n={..._,numOfTouches:e.touches.length,startCoords:f(e),startTime:Date.now(),evObj:{...e}}},r=e=>{if(!n)return;let t=f(e);if(t){n.startCoords||(n.startCoords=t);let e=n.startCoords.x-t.x,i=n.startCoords.y-t.y;n.moved=!0,n.deltaCoords={x:e,y:i}}},s=()=>{if(n){let r;if(n.endTime=Date.now(),"onTap"===e&&(r=n).touched&&!r.moved&&1===r.numOfTouches)t(n.evObj);else{let r;if((r=n).moved&&1===r.numOfTouches&&r.endTime-r.startTime<500&&(Math.abs(r.deltaCoords.x)>100||Math.abs(r.deltaCoords.y)>60)){var i,a;e===g[Math.abs(i=n.deltaCoords.x)>Math.abs(a=n.deltaCoords.y)?i>0?"left":"right":a>0?"up":"down"]&&t(n.evObj)}}}};return i&&i.current&&(i.current.addEventListener("touchstart",a,{passive:!0}),i.current.addEventListener("touchmove",r,{passive:!0}),i.current.addEventListener("touchend",s,{passive:!0})),()=>{i&&i.current&&(i.current.removeEventListener("touchstart",a),i.current.removeEventListener("touchmove",r),i.current.removeEventListener("touchend",s))}},[e,i,t]),x="slide-show-gallery-items",b="slide-show-gallery-playButton",y={SCALE_TO_FILL:"fill",SCALE_TO_FIT:"fit",STRETCH:"stretch",ORIGINAL_SIZE:"original_size",TILE:"tile",TILE_HORIZONTAL:"tile_horizontal",TILE_VERTICAL:"tile_vertical",FIT_AND_TILE:"fit_and_tile",LEGACY_STRIP_TILE:"legacy_strip_tile",LEGACY_STRIP_TILE_HORIZONTAL:"legacy_strip_tile_horizontal",LEGACY_STRIP_TILE_VERTICAL:"legacy_strip_tile_vertical",LEGACY_STRIP_SCALE_TO_FILL:"legacy_strip_fill",LEGACY_STRIP_SCALE_TO_FIT:"legacy_strip_fit",LEGACY_STRIP_FIT_AND_TILE:"legacy_strip_fit_and_tile",LEGACY_STRIP_ORIGINAL_SIZE:"legacy_strip_original_size",LEGACY_ORIGINAL_SIZE:"actual_size",LEGACY_FIT_WIDTH:"fitWidth",LEGACY_FIT_HEIGHT:"fitHeight",LEGACY_FULL:"full",LEGACY_BG_FIT_AND_TILE:"legacy_tile",LEGACY_BG_FIT_AND_TILE_HORIZONTAL:"legacy_tile_horizontal",LEGACY_BG_FIT_AND_TILE_VERTICAL:"legacy_tile_vertical",LEGACY_BG_NORMAL:"legacy_normal"},v="fill",I="fill_focal",w="crop",T="legacy_crop",L="legacy_fill",C="center",A="top_left",S="top_right",k="bottom",N="bottom_left",O="bottom_right",R="left",M="right",G={[C]:{x:.5,y:.5},[A]:{x:0,y:0},[S]:{x:1,y:0},top:{x:.5,y:0},[N]:{x:0,y:1},[O]:{x:1,y:1},[k]:{x:.5,y:1},[M]:{x:1,y:.5},[R]:{x:0,y:.5}},j={center:"c",top:"t",top_left:"tl",top_right:"tr",bottom:"b",bottom_left:"bl",bottom_right:"br",left:"l",right:"r"},F={AUTO:"auto",CLASSIC:"classic",SUPER:"super"},P={radius:"0.66",amount:"1.00",threshold:"0.01"},$={uri:"",css:{img:{},container:{}},attr:{img:{},container:{}},transformed:!1},Y=[1.5,2,4],z={HIGH:{size:196e4,quality:90,maxUpscale:1},MEDIUM:{size:36e4,quality:85,maxUpscale:1},LOW:{size:16e4,quality:80,maxUpscale:1.2},TINY:{size:0,quality:80,maxUpscale:1.4}},B="HIGH",D="MEDIUM",U="contrast",H="brightness",Z="saturation",V="blur",W="jpeg",q="webp",K="avif";function X(e,...t){return function(...i){let n=i[i.length-1]||{},a=[e[0]];return t.forEach(function(t,r){let s=Number.isInteger(t)?i[t]:n[t];a.push(s,e[r+1])}),a.join("")}}function Q(e){return e[e.length-1]}let J=["png",W,"jpg","jpe","wix_ico_mp","wix_mp",q,K],ee=[W,"jpg","jpe"];function et(e,t,i){var n;return i&&t&&!(!(n=t.id)||!n.trim()||"none"===n.toLowerCase())&&Object.values(y).includes(e)}function ei(e,t,i,n){var a;if(a=e,/(^https?)|(^data)|(^\/\/)/.test(a)||(en(e)||ea(e))&&t&&!i)return!1;let r=J.includes(eo(e)),s="gif"===eo(e)&&!!(i||n);return r||s}function en(e){return eo(e)===q}function ea(e){return eo(e)===K}let er=["/","\\","?","<",">","|","“",":",'"'].map(encodeURIComponent),es=["\\.","\\*"];function eo(e){return(/[.]([^.]+)$/.exec(e)&&/[.]([^.]+)$/.exec(e)[1]||"").toLowerCase()}function el(e,t,i,n,a){let r;return r=a===v?Math.max(i/e,n/t):"fit"===a?Math.min(i/e,n/t):1}function ec(e,t,i,n,a,r){let{scaleFactor:s,width:o,height:l}=function(e,t,i,n,a){let r,s=i,o=n;if(r=el(e,t,i,n,a),"fit"===a&&(s=e*r,o=t*r),s&&o&&s*o>25e6){let i=Math.sqrt(25e6/(s*o));s*=i,o*=i,r=el(e,t,s,o,a)}return{scaleFactor:r,width:s,height:o}}(e=e||n.width,t=t||n.height,n.width*a,n.height*a,i);return function(e,t,i,n,a,r,s){let{optimizedScaleFactor:o,upscaleMethodValue:l,forceUSM:c}=function(e,t,i,n){if("auto"===n)return{optimizedScaleFactor:z[eh(e,t)].maxUpscale,upscaleMethodValue:1,forceUSM:!1};if("super"===n)return{optimizedScaleFactor:Q(Y),upscaleMethodValue:2,forceUSM:!(Y.includes(i)||i>Q(Y))};return{optimizedScaleFactor:z[eh(e,t)].maxUpscale,upscaleMethodValue:1,forceUSM:!1}}(e,t,r,a),d=i,u=n;if(r<=o)return{width:d,height:u,scaleFactor:r,upscaleMethodValue:l,forceUSM:c,cssUpscaleNeeded:!1};switch(s){case v:d=o/r*i,u=o/r*n;break;case"fit":d=e*o,u=t*o}return{width:d,height:u,scaleFactor:o,upscaleMethodValue:l,forceUSM:c,cssUpscaleNeeded:!0}}(e,t,o,l,r,s,i)}function ed(e){return e.alignment&&j[e.alignment]||j[C]}function eu(e){let t;return!e||"number"!=typeof e.x||isNaN(e.x)||"number"!=typeof e.y||isNaN(e.y)||(t={x:ep(Math.max(0,Math.min(100,e.x))/100,2),y:ep(Math.max(0,Math.min(100,e.y))/100,2)}),t}function eh(e,t){let i=e*t;return i>z[B].size?B:i>z[D].size?D:i>z.LOW.size?"LOW":"TINY"}function ep(e,t){let i=Math.pow(10,t||0);return(e*i/i).toFixed(t)}let em={isMobile:!1},eg=function(e,t){em[e]=t};function ef(){if("u">typeof window&&"u">typeof navigator){let e=window.matchMedia&&window.matchMedia("(max-width: 767px)").matches,t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);eg("isMobile",e&&t)}}function e_(e,t){let i={css:{container:{}}},{css:n}=i,{fittingType:a}=e;switch(a){case y.ORIGINAL_SIZE:case y.LEGACY_ORIGINAL_SIZE:case y.LEGACY_STRIP_ORIGINAL_SIZE:n.container.backgroundSize="auto",n.container.backgroundRepeat="no-repeat";break;case y.SCALE_TO_FIT:case y.LEGACY_STRIP_SCALE_TO_FIT:n.container.backgroundSize="contain",n.container.backgroundRepeat="no-repeat";break;case y.STRETCH:n.container.backgroundSize="100% 100%",n.container.backgroundRepeat="no-repeat";break;case y.SCALE_TO_FILL:case y.LEGACY_STRIP_SCALE_TO_FILL:n.container.backgroundSize="cover",n.container.backgroundRepeat="no-repeat";break;case y.TILE_HORIZONTAL:case y.LEGACY_STRIP_TILE_HORIZONTAL:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat-x";break;case y.TILE_VERTICAL:case y.LEGACY_STRIP_TILE_VERTICAL:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat-y";break;case y.TILE:case y.LEGACY_STRIP_TILE:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat";break;case y.LEGACY_STRIP_FIT_AND_TILE:n.container.backgroundSize="contain",n.container.backgroundRepeat="repeat";break;case y.FIT_AND_TILE:case y.LEGACY_BG_FIT_AND_TILE:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat";break;case y.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat-x";break;case y.LEGACY_BG_FIT_AND_TILE_VERTICAL:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat-y";break;case y.LEGACY_BG_NORMAL:n.container.backgroundSize="auto",n.container.backgroundRepeat="no-repeat"}switch(t.alignment){case C:n.container.backgroundPosition="center center";break;case R:n.container.backgroundPosition="left center";break;case M:n.container.backgroundPosition="right center";break;case"top":n.container.backgroundPosition="center top";break;case k:n.container.backgroundPosition="center bottom";break;case S:n.container.backgroundPosition="right top";break;case A:n.container.backgroundPosition="left top";break;case O:n.container.backgroundPosition="right bottom";break;case N:n.container.backgroundPosition="left bottom"}return i}let eE={[C]:"center",top:"top",[A]:"top left",[S]:"top right",[k]:"bottom",[N]:"bottom left",[O]:"bottom right",[R]:"left",[M]:"right"},ex={position:"absolute",top:"auto",right:"auto",bottom:"auto",left:"auto"};function eb(e,t){let i={css:{container:{},img:{}}},{css:n}=i,{fittingType:a}=e,r=t.alignment;switch(n.container.position="relative",a){case y.ORIGINAL_SIZE:case y.LEGACY_ORIGINAL_SIZE:e.parts&&e.parts.length?(n.img.width=e.parts[0].width,n.img.height=e.parts[0].height):(n.img.width=e.src.width,n.img.height=e.src.height);break;case y.SCALE_TO_FIT:case y.LEGACY_FIT_WIDTH:case y.LEGACY_FIT_HEIGHT:case y.LEGACY_FULL:n.img.width=t.width,n.img.height=t.height,n.img.objectFit="contain",n.img.objectPosition=eE[r]||"unset";break;case y.LEGACY_BG_NORMAL:n.img.width="100%",n.img.height="100%",n.img.objectFit="none",n.img.objectPosition=eE[r]||"unset";break;case y.STRETCH:n.img.width=t.width,n.img.height=t.height,n.img.objectFit="fill";break;case y.SCALE_TO_FILL:n.img.width=t.width,n.img.height=t.height,n.img.objectFit="cover"}if("number"==typeof n.img.width&&"number"==typeof n.img.height&&(n.img.width!==t.width||n.img.height!==t.height)){let e=Math.round((t.height-n.img.height)/2),i=Math.round((t.width-n.img.width)/2);Object.assign(n.img,ex,{[A]:{top:0,left:0},[S]:{top:0,right:0},top:{top:0,left:i},[N]:{bottom:0,left:0},[O]:{bottom:0,right:0},[k]:{bottom:0,left:i},[M]:{top:e,right:0},[R]:{top:e,left:0},[C]:{width:t.width,height:t.height,objectFit:"none"}}[r])}return i}function ey(e,t){let i,n={css:{container:{}},attr:{container:{},img:{}}},{css:a,attr:r}=n,{fittingType:s}=e,o=t.alignment,{width:l,height:c}=e.src;switch(a.container.position="relative",s){case y.ORIGINAL_SIZE:case y.LEGACY_ORIGINAL_SIZE:case y.TILE:e.parts&&e.parts.length?(r.img.width=e.parts[0].width,r.img.height=e.parts[0].height):(r.img.width=l,r.img.height=c),r.img.preserveAspectRatio="xMidYMid slice";break;case y.SCALE_TO_FIT:case y.LEGACY_FIT_WIDTH:case y.LEGACY_FIT_HEIGHT:case y.LEGACY_FULL:r.img.width="100%",r.img.height="100%",r.img.transform="",r.img.preserveAspectRatio="";break;case y.STRETCH:r.img.width=t.width,r.img.height=t.height,r.img.x=0,r.img.y=0,r.img.transform="",r.img.preserveAspectRatio="none";break;case y.SCALE_TO_FILL:if(ei(e.src.id))r.img.width=t.width,r.img.height=t.height;else{var d;let e;d=t.width,e=el(l,c,d,t.height,v),i={width:Math.round(l*e),height:Math.round(c*e)},r.img.width=i.width,r.img.height=i.height}r.img.x=0,r.img.y=0,r.img.transform="",r.img.preserveAspectRatio="xMidYMid slice"}if("number"==typeof r.img.width&&"number"==typeof r.img.height&&(r.img.width!==t.width||r.img.height!==t.height)){let e,i,n=0,a=0;s===y.TILE?(e=t.width%r.img.width,i=t.height%r.img.height):(e=t.width-r.img.width,i=t.height-r.img.height);let l=Math.round(e/2),c=Math.round(i/2);switch(o){case A:n=0,a=0;break;case"top":n=l,a=0;break;case S:n=e,a=0;break;case R:n=0,a=c;break;case C:n=l,a=c;break;case M:n=e,a=c;break;case N:n=0,a=i;break;case k:n=l,a=i;break;case O:n=e,a=i}r.img.x=n,r.img.y=a}return r.container.width=t.width,r.container.height=t.height,r.container.viewBox=["0 0",t.width,t.height].join(" "),n}function ev(e,t){let i=ec(e.src.width,e.src.height,"fit",t,e.devicePixelRatio,e.upscaleMethod);return{transformType:e.src.width&&e.src.height?v:"fit",width:Math.round(i.width),height:Math.round(i.height),alignment:j.center,upscale:i.scaleFactor>1,forceUSM:i.forceUSM,scaleFactor:i.scaleFactor,cssUpscaleNeeded:i.cssUpscaleNeeded,upscaleMethodValue:i.upscaleMethodValue}}function eI(e){return{transformType:w,x:Math.round(e.x),y:Math.round(e.y),width:Math.round(e.width),height:Math.round(e.height),upscale:!1,forceUSM:!1,scaleFactor:1,cssUpscaleNeeded:!1}}function ew(e,t,i){return"number"==typeof e&&!isNaN(e)&&0!==e&&e>=t&&e<=i}function eT(e,t,i,n){var a,r,s,o,l,c,d;let u,h=n?.isSEOBot??!1,p=function(e){if(ee.includes(eo(e)))return"jpg";if("png"===eo(e))return"png";if(en(e))return q;if("gif"===eo(e))return"gif";else if(ea(e))return K;return"unrecognized"}(t.id),m=function(e,t){let i=/\.([^.]*)$/,n=RegExp(`(${er.concat(es).join("|")})`,"g");if(t&&t.length){let e=t,a=t.match(i);return a&&J.includes(a[1])&&(e=t.replace(i,"")),encodeURIComponent(e).replace(n,"_")}let a=e.match(/\/(.*?)$/);return(a?a[1]:e).replace(i,"")}(t.id,t.name),g=h?1:Math.min(i.pixelAspectRatio||1,2),f=eo(t.id),_=ei(t.id,n?.hasAnimation,n?.allowAnimatedTransform,n?.allowFullGIFTransformation),E={fileName:m,fileExtension:f,fileType:p,fittingType:e,preferredExtension:f,src:{id:t.id,width:t.width,height:t.height,isCropped:!1,isAnimated:(a=t.id,r=n?.hasAnimation,u=en(a)||ea(a),"gif"===eo(a)||u&&r)},focalPoint:{x:t.focalPoint&&t.focalPoint.x,y:t.focalPoint&&t.focalPoint.y},parts:[],devicePixelRatio:g,quality:0,upscaleMethod:n&&n.upscaleMethod&&F[n.upscaleMethod.toUpperCase()]||F.AUTO,progressive:!0,watermark:"",unsharpMask:{},filters:{},transformed:_,allowFullGIFTransformation:n?.allowFullGIFTransformation,isPlaceholderFlow:n?.isPlaceholderFlow};if(_){let e,a,r,u,h,p;!function(e,t,i){var n,a,r,s,o,l,c,d,u,h,p;let m,g,f,_,E,x;if(t.crop){let i,a;n=t.crop,i=Math.max(0,Math.min(t.width,n.x+n.width)-Math.max(0,n.x)),a=Math.max(0,Math.min(t.height,n.y+n.height)-Math.max(0,n.y)),(m=i&&a&&(t.width!==i||t.height!==a)?{x:Math.max(0,n.x),y:Math.max(0,n.y),width:i,height:a}:null)&&(e.src.width=m.width,e.src.height=m.height,e.src.isCropped=!0,e.parts.push(eI(m)))}switch(e.fittingType){case y.SCALE_TO_FIT:case y.LEGACY_FIT_WIDTH:case y.LEGACY_FIT_HEIGHT:case y.LEGACY_FULL:case y.FIT_AND_TILE:case y.LEGACY_BG_FIT_AND_TILE:case y.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:case y.LEGACY_BG_FIT_AND_TILE_VERTICAL:case y.LEGACY_BG_NORMAL:e.parts.push(ev(e,i));break;case y.SCALE_TO_FILL:e.parts.push((o=e,l=i,g=ec(o.src.width,o.src.height,v,l,o.devicePixelRatio,o.upscaleMethod),{transformType:(f=eu(o.focalPoint))?I:v,width:Math.round(g.width),height:Math.round(g.height),alignment:ed(l),focalPointX:f&&f.x,focalPointY:f&&f.y,upscale:g.scaleFactor>1,forceUSM:g.forceUSM,scaleFactor:g.scaleFactor,cssUpscaleNeeded:g.cssUpscaleNeeded,upscaleMethodValue:g.upscaleMethodValue}));break;case y.STRETCH:e.parts.push((c=e,d=i,_=el(c.src.width,c.src.height,d.width,d.height,v),(E={...d}).width=c.src.width*_,E.height=c.src.height*_,ev(c,E)));break;case y.TILE_HORIZONTAL:case y.TILE_VERTICAL:case y.TILE:case y.LEGACY_ORIGINAL_SIZE:case y.ORIGINAL_SIZE:a=e.src,r=e.focalPoint,s=i.alignment,x=eu(r)||function(e=C){return G[e]}(s),m={x:Math.max(0,Math.min(a.width-i.width,x.x*a.width-i.width/2)),y:Math.max(0,Math.min(a.height-i.height,x.y*a.height-i.height/2)),width:Math.min(a.width,i.width),height:Math.min(a.height,i.height)},e.src.isCropped?(Object.assign(e.parts[0],m),e.src.width=m.width,e.src.height=m.height):e.parts.push(eI(m));break;case y.LEGACY_STRIP_TILE_HORIZONTAL:case y.LEGACY_STRIP_TILE_VERTICAL:case y.LEGACY_STRIP_TILE:case y.LEGACY_STRIP_ORIGINAL_SIZE:e.parts.push({transformType:T,width:Math.round((u=i).width),height:Math.round(u.height),alignment:ed(u),upscale:!1,forceUSM:!1,scaleFactor:1,cssUpscaleNeeded:!1});break;case y.LEGACY_STRIP_SCALE_TO_FIT:case y.LEGACY_STRIP_FIT_AND_TILE:e.parts.push({transformType:"fit",width:Math.round((h=i).width),height:Math.round(h.height),upscale:!1,forceUSM:!0,scaleFactor:1,cssUpscaleNeeded:!1});break;case y.LEGACY_STRIP_SCALE_TO_FILL:e.parts.push({transformType:L,width:Math.round((p=i).width),height:Math.round(p.height),alignment:ed(p),upscale:!1,forceUSM:!0,scaleFactor:1,cssUpscaleNeeded:!1})}}(E,t,i),E.quality=function(e,t){let i="png"===e.fileType,n="jpg"===e.fileType,a=e.fileType===q,r=e.fileType===K;if(n||i||a||r){let n=Q(e.parts),a=z[eh(n.width,n.height)].quality,r=t.quality&&t.quality>=5&&t.quality<=90?t.quality:a;return i?r+5:r}return 0}(E,s=(s=n)||{}),E.progressive=!1!==s.progressive,E.watermark=s.watermark,E.autoEncode=s.autoEncode??!0,E.encoding=s?.encoding,o=E,e="number"==typeof(c=(c=(l=s).unsharpMask)||{}).radius&&!isNaN(c.radius)&&c.radius>=.1&&c.radius<=500,a="number"==typeof c.amount&&!isNaN(c.amount)&&c.amount>=0&&c.amount<=10,r="number"==typeof c.threshold&&!isNaN(c.threshold)&&c.threshold>=0&&c.threshold<=255,E.unsharpMask=e&&a&&r?{radius:ep(l.unsharpMask?.radius,2),amount:ep(l.unsharpMask?.amount,2),threshold:ep(l.unsharpMask?.threshold,2)}:"number"==typeof(d=(d=l.unsharpMask)||{}).radius&&!isNaN(d.radius)&&0===d.radius&&"number"==typeof d.amount&&!isNaN(d.amount)&&0===d.amount&&"number"==typeof d.threshold&&!isNaN(d.threshold)&&0===d.threshold||(u=Q(o.parts)).scaleFactor>=1&&!u.forceUSM&&"fit"!==u.transformType?void 0:P,h=s.filters||{},p={},ew(h[U],-100,100)&&(p[U]=h[U]),ew(h[H],-100,100)&&(p[H]=h[H]),ew(h[Z],-100,100)&&(p[Z]=h[Z]),ew(h.hue,-180,180)&&(p.hue=h.hue),ew(h[V],0,100)&&(p[V]=h[V]),E.filters=p}return E}let eL=X`fit/w_${"width"},h_${"height"}`,eC=X`fill/w_${"width"},h_${"height"},al_${"alignment"}`,eA=X`fill/w_${"width"},h_${"height"},fp_${"focalPointX"}_${"focalPointY"}`,eS=X`crop/x_${"x"},y_${"y"},w_${"width"},h_${"height"}`,ek=X`crop/w_${"width"},h_${"height"},al_${"alignment"}`,eN=X`fill/w_${"width"},h_${"height"},al_${"alignment"}`,eO=X`,lg_${"upscaleMethodValue"}`,eR=X`,q_${"quality"}`,eM=X`,quality_auto`,eG=X`,usm_${"radius"}_${"amount"}_${"threshold"}`,ej=X`,bl`,eF=X`,wm_${"watermark"}`,eP={[U]:X`,con_${"contrast"}`,[H]:X`,br_${"brightness"}`,[Z]:X`,sat_${"saturation"}`,hue:X`,hue_${"hue"}`,[V]:X`,blur_${"blur"}`},e$=X`,enc_auto`,eY=X`,enc_avif`,ez=X`,enc_pavif`,eB=X`,pstr`,eD=X`,anm_all`;function eU(e,t,i,n={},a){if(ei(t.id,n?.hasAnimation,n?.allowAnimatedTransform,n?.allowFullGIFTransformation)){if((en(t.id)||ea(t.id))&&!n.allowWebpAvifTransforms){let{alignment:r,...s}=i;t.focalPoint={x:void 0,y:void 0},delete t?.crop,a=eT(e,t,s,n)}else a=a||eT(e,t,i,n);return function(e){let t=[];e.parts.forEach(e=>{switch(e.transformType){case w:t.push(eS(e));break;case T:t.push(ek(e));break;case L:let i=eN(e);e.upscale&&(i+=eO(e)),t.push(i);break;case"fit":let n=eL(e);e.upscale&&(n+=eO(e)),t.push(n);break;case v:let a=eC(e);e.upscale&&(a+=eO(e)),t.push(a);break;case I:let r=eA(e);e.upscale&&(r+=eO(e)),t.push(r)}});let i=t.join("/");if(e.quality&&(i+=eR(e)),e.unsharpMask&&(i+=eG(e.unsharpMask)),e.progressive||(i+=ej(e)),e.watermark&&(i+=eF(e)),e.filters&&(i+=Object.keys(e.filters).map(t=>eP[t](e.filters)).join("")),"gif"!==e.fileType&&("AVIF"===e.encoding?(i+=eY(e),i+=eM(e)):"PAVIF"===e.encoding?(i+=ez(e),i+=eM(e)):e.autoEncode&&(i+=e$(e))),e.src?.isAnimated&&e.transformed){let t="gif"===eo(e.src.id),n=!0===e.isPlaceholderFlow,a=!0===e.allowFullGIFTransformation;n?i+=eB(e):t&&a&&(i+=eD(e))}return`${e.src.id}/v1/${i}/${e.fileName}.${e.preferredExtension}`}(a)}return t.id}let eH={[C]:"50% 50%",[A]:"0% 0%",[S]:"100% 0%",top:"50% 0%",[N]:"0% 100%",[O]:"100% 100%",[k]:"50% 100%",[M]:"100% 50%",[R]:"0% 50%"},eZ=Object.entries(eH).reduce((e,[t,i])=>(e[i]=t,e),{}),eV=[y.TILE,y.TILE_HORIZONTAL,y.TILE_VERTICAL,y.LEGACY_BG_FIT_AND_TILE,y.LEGACY_BG_FIT_AND_TILE_HORIZONTAL,y.LEGACY_BG_FIT_AND_TILE_VERTICAL],eW=[y.LEGACY_ORIGINAL_SIZE,y.ORIGINAL_SIZE,y.LEGACY_BG_NORMAL];function eq(e,t,{width:i,height:n}){return e===y.TILE&&t.width>i&&t.height>n}let eK={width:"100%",height:"100%"};function eX(e,t,i,n={}){var a;let r,{autoEncode:s=!0,isSEOBot:o,shouldLoadHQImage:l,hasAnimation:c,allowAnimatedTransform:d,encoding:u}=n;if(!et(e,t,i))return $;let h=d??!0,p=ei(t.id,c,h);if(!p||l)return eQ(e,t,i,{...n,autoEncode:s,useSrcset:p});let m={...i,...function(e,{width:t,height:i}){if(!t||!i){let n=t||Math.min(980,e.width),a=n/e.width;return{width:n,height:i||e.height*a}}return{width:t,height:i}}(t,i)},{alignment:g,htmlTag:f}=m,_=eq(e,t,m),E=function(e,t,{width:i,height:n},a=!1){var r,s;if(a)return{width:i,height:n};let o=!eW.includes(e),l=eq(e,t,{width:i,height:n}),c=!l&&eV.includes(e),d=c?t.width:i,u=c?t.height:n,h=o?(r=d,s="png"===eo(t.id),r>900?s?.05:.15:r>500?s?.1:.18:r>200?.25:1):1;return{width:l?1920:d*h,height:u*h}}(e,t,m,o),x=(a=m.width,o?0:eV.includes(e)?1:a>200?2:3),b=(r=eV.includes(e)&&!_,e===y.SCALE_TO_FILL||r?y.SCALE_TO_FIT:e),v=function(e,t,i,n="center"){let a={img:{},container:{}};if(e===y.SCALE_TO_FILL){var r;let e=t.focalPoint&&(r=t.focalPoint,eZ[`${r.x}% ${r.y}%`]||"");t.focalPoint&&!e?a.img={objectPosition:function(e,t,i){let{width:n,height:a}=e,{width:r,height:s}=t,{x:o,y:l}=i;if(!r||!s)return`${o}% ${l}%`;let c=Math.max(r/n,s/a),d=n*c,u=a*c,h=Math.max(0,Math.min(d-r,o/100*d-r/2)),p=Math.max(0,Math.min(u-s,l/100*u-s/2)),m=h&&Math.floor(h/(d-r)*100),g=p&&Math.floor(p/(u-s)*100);return`${m}% ${g}%`}(t,i,t.focalPoint)}:a.img={objectPosition:eH[e||n]}}else[y.LEGACY_ORIGINAL_SIZE,y.ORIGINAL_SIZE].includes(e)?a.img={objectFit:"none",top:"auto",left:"auto",right:"auto",bottom:"auto"}:eV.includes(e)&&(a.container={backgroundSize:`${t.width}px ${t.height}px`});return a}(e,t,i,g),{uri:I}=eQ(b,t,{...E,alignment:g,htmlTag:f},{autoEncode:s,filters:x?{blur:x}:{},hasAnimation:c,allowAnimatedTransform:h,encoding:u,isPlaceholderFlow:!0}),{attr:w={},css:T}=eQ(e,t,{...m,alignment:g,htmlTag:f},{});return T.img=T.img||{},T.container=T.container||{},Object.assign(T.img,v.img,eK),Object.assign(T.container,v.container),{uri:I,css:T,attr:w,transformed:!0}}function eQ(e,t,i,n){let a={};if(et(e,t,i)){var r;let s,o=function(e,t,i){let n={...i},a=em.isMobile;switch(e){case y.LEGACY_BG_FIT_AND_TILE:case y.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:case y.LEGACY_BG_FIT_AND_TILE_VERTICAL:case y.LEGACY_BG_NORMAL:n.width=Math.min(a?1e3:1920,t.width),n.height=Math.min(a?1e3:1920,Math.round(n.width/(t.width/t.height))),n.pixelAspectRatio=1}return n}(e,t,i),l=eT(e,t,o,n);a.uri=eU(e,t,o,n,l),n?.useSrcset&&(a.srcset=(r=a,s=o.pixelAspectRatio||1,{dpr:[`${1===s?r.uri:eU(e,t,{...o,pixelAspectRatio:1},n)} 1x`,`${2===s?r.uri:eU(e,t,{...o,pixelAspectRatio:2},n)} 2x`]})),Object.assign(a,("bg"===o.htmlTag?e_:"svg"===o.htmlTag?ey:eb)(l,o),{transformed:l.transformed})}else a=$;return a}"u">typeof window&&window.devicePixelRatio,ef();ef();let eJ="https://static.wixstatic.com/media/",{ke:e0}=t,e1=/^[a-z]+:/,e2=e=>{let{id:t,containerId:i,uri:a,alt:r,name:s="",role:o,width:l,height:c,displayMode:d,devicePixelRatio:u,quality:h,alignType:p,bgEffectName:m="",focalPoint:g,upscaleMethod:f,className:_="",crop:E,imageStyles:x={},targetWidth:b,targetHeight:y,targetScale:v,onLoad:I=()=>{},onError:w=()=>{},shouldUseLQIP:T,containerWidth:L,containerHeight:C,getPlaceholder:A,isInFirstFold:S,placeholderTransition:k,socialAttrs:N,isSEOBot:O,skipMeasure:R,hasAnimation:M,encoding:G,isFluidLayout:j}=e,F=n.useRef(null),P="",$="blur"===k,Y=n.useRef(null);Y.current||(A||T||S||O?(Y.current=(A||(({fittingType:e,src:t,target:i,options:n})=>{let a=eX(e,t,i,{...n,autoEncode:!0});return a?.uri&&!/^[a-z]+:/.test(a.uri)&&(a.uri=`${e0}${a.uri}`),a}))({fittingType:d,src:{id:a,width:l,height:c,crop:E,name:s,focalPoint:g},target:{width:L,height:C,alignment:p,htmlTag:"img"},options:{upscaleMethod:f,...h||{},shouldLoadHQImage:S,isSEOBot:O,hasAnimation:M,encoding:G}}),P=!Y.current.transformed||S||O?"":"true"):Y.current={uri:void 0,css:{img:{}},attr:{img:{},container:{}},transformed:!1});let z=!O&&(A||T)&&!S&&Y.current.transformed,B=n.useMemo(()=>JSON.stringify({containerId:i,...i&&{containerId:i},...p&&{alignType:p},...R&&{skipMeasure:!0},displayMode:d,...L&&{targetWidth:L},...C&&{targetHeight:C},...b&&{targetWidth:b},...y&&{targetHeight:y},...v&&{targetScale:v},isLQIP:z,isSEOBot:O,lqipTransition:k,encoding:G,imageData:{width:l,height:c,uri:a,name:s,displayMode:d,hasAnimation:M,...h&&{quality:h},...u&&{devicePixelRatio:u},...g&&{focalPoint:g},...E&&{crop:E},...f&&{upscaleMethod:f}}}),[i,p,R,d,L,C,b,y,v,z,O,k,G,l,c,a,s,M,h,u,g,E,f]),D=Y.current,U=D?.uri,H=D?.srcset,Z=D.css?.img,V=`Qh0lWW ${_}`;n.useEffect(()=>{let e=F.current;I&&e?.currentSrc&&e?.complete&&I({target:e})},[]);let W=D&&!D?.transformed?`max(${l}px, 100%)`:b?`${b}px`:null;return n.createElement("wow-image",{id:t,class:V,"data-image-info":B,"data-motion-part":`BG_IMG ${i}`,"data-bg-effect-name":m,"data-has-ssr-src":P,"data-animate-blur":!O&&z&&$?"":void 0,"data-is-responsive":j?"true":void 0,style:W?{"--wix-img-max-width":W}:{}},n.createElement("img",{src:U,ref:F,alt:r||"",role:o,style:{...Z,...x},onLoad:I,onError:w,width:L||void 0,height:C||void 0,...N,srcSet:S?H?.dpr?.map(e=>e1.test(e)?e:`${e0}${e}`).join(", "):void 0,fetchpriority:S?"high":void 0,loading:!1===S?"lazy":void 0,suppressHydrationWarning:!0}))},e5="sFiSiq",e6=e=>{let{id:t,alt:n,role:a,className:r,imageStyles:s={},targetWidth:l,targetHeight:c,onLoad:d,onError:u,containerWidth:h,containerHeight:p,isInFirstFold:m,socialAttrs:g,skipMeasure:f,responsiveImageProps:_,zoomedImageResponsiveOverride:E,displayMode:x}=e,b=l||h,y=c||p,{fallbackSrc:v,srcset:I,sources:w,css:T}=_||{},{width:L,height:C,...A}=_?.css?.img||{},S="original_size"===x?_?.css?.img:A;return v&&I&&T?(0,i.jsx)("img",{fetchpriority:m?"high":void 0,loading:!1===m?"lazy":void 0,sizes:`${b}px`,srcSet:f?E?.srcset:_?.srcset,id:t,src:v,alt:n||"",role:a,style:{...s,...f?{...E?.css?.img}:{...S}},onLoad:d,onError:u,className:o(r,e5),width:b,height:y,...g}):v&&w&&T?(0,i.jsxs)("picture",{children:[w.map(e=>{let{srcset:t,media:n,sizes:a}=e;return(0,i.jsx)("source",{srcSet:t,media:n,sizes:a},n)}),(0,i.jsx)("img",{fetchpriority:m?"high":void 0,loading:!1===m?"lazy":void 0,id:t,src:w[0].fallbackSrc,alt:n||"",role:a,style:{...s,objectFit:w[0].imgStyle.objectFit,objectPosition:w[0].imgStyle.objectPosition},onLoad:d,onError:u,className:o(r,e5),width:b,height:y,...g})]}):(0,i.jsx)(e2,{...e})},e7=n.forwardRef((e,t)=>{let n,{href:a,role:r,target:s,rel:o,className:l="",children:p,linkPopupId:m,anchorDataId:g,anchorCompId:f,tabIndex:_,dataTestId:E="linkElement",title:x,onClick:b,onDoubleClick:y,onMouseEnter:v,onMouseLeave:I,onFocus:w,onFocusCapture:T,onBlurCapture:L,"aria-live":C,"aria-disabled":A,"aria-label":S,"aria-labelledby":k,"aria-pressed":N,"aria-expanded":O,"aria-describedby":R,"aria-haspopup":M,"aria-current":G,dataPreview:j,dataPart:F}=e;switch(void 0!==e.activateByKey?e.activateByKey:m?"SpaceOrEnter":"Enter"){case"Enter":n=d;break;case"Space":n=c;break;case"SpaceOrEnter":n=u;break;default:n=void 0}return void 0!==a||m?(0,i.jsx)("a",{...h(e),"data-testid":E,"data-popupid":m,"data-anchor":g,"data-anchor-comp-id":f,"data-preview":j,"data-part":F,href:a||void 0,target:s,role:m?"button":r,rel:o,className:l,onKeyDown:n,"aria-live":C,"aria-disabled":A,"aria-label":S,"aria-labelledby":k,"aria-pressed":N,"aria-expanded":O,"aria-haspopup":M,"aria-describedby":R,"aria-current":G,title:x,onClick:b,onMouseEnter:v,onMouseLeave:I,onDoubleClick:y,onFocus:w,onFocusCapture:T,onBlurCapture:L,ref:t,tabIndex:m?0:_,children:p}):(0,i.jsx)("div",{...h(e),"data-testid":E,"data-preview":j,"data-part":F,className:l,tabIndex:_,"aria-label":S,"aria-labelledby":k,"aria-haspopup":M,"aria-disabled":A,"aria-expanded":O,title:x,role:r,onClick:b,onDoubleClick:y,onMouseEnter:v,onMouseLeave:I,ref:t,children:p})}),e8=e=>{let{imageOnClickAction:t,openImageZoom:n,focusItemRoot:a,focusDisabledItems:r=!1,imgTitle:s,imgAlt:l,link:c,children:d,skinsStyle:h,itemId:p,translations:m,onFocus:g=()=>{},onBlur:f=()=>{}}=e,_=`describedby_${p}`;switch(t){case"zoomMode":return(0,i.jsxs)("div",{className:o(h.itemClickWrapper,h.imageZoomBtn),"data-testid":"gallery-item-click-action-image-zoom",role:"button","aria-haspopup":"true",tabIndex:0,"aria-label":l||s||void 0,"aria-describedby":_,onClick:()=>{a&&a(),n()},onKeyDown:u,onFocus:g,onBlur:f,children:[d,(0,i.jsx)("div",{style:{display:"none"},children:(0,i.jsx)("span",{id:_,"data-testid":"gallery-item-describedby-id",children:m.imageZoomDescribedByLabel})})]});case"goToLink":if(!(!c||0===Object.keys(c).length&&c.constructor===Object))return(0,i.jsx)(e7,{className:o(h.itemClickWrapper,h.imageLink),dataTestId:"gallery-item-click-action-link",...r?{tabIndex:0}:{},...c,children:d})}return(0,i.jsx)("div",{className:h.itemClickWrapper,role:"img","data-testid":"gallery-item-click-action-disabled",...r?{tabIndex:0}:{},children:d})};var e9=a(17709),e4=a.n(e9);let e3="gallery-image-sizer";if("u">typeof window&&window.customElements&&!window.customElements.get(e3)){class e extends HTMLElement{sizeObserver;constructor(){super(),this.sizeObserver=new ResizeObserver(e=>this.onResize(e))}disconnectedCallback(){this.sizeObserver.disconnect()}connectedCallback(){this.sizeObserver.observe(this)}onResize(e){let t=e[0].contentRect.width,i=e[0].contentRect.height;this.resizeImage(t,i)}resizeImage(e,t){let i=this.children[0];if(i){let n=((e,t,i,n)=>{let a=i/n,r=Math.round(t*a);if(r<=e)return{width:r,height:t};let s=Math.round(e/a);return{width:e,height:s}})(e,t,parseInt(this.dataset.imageWidth,10),parseInt(this.dataset.imageHeight,10));e4().mutate(()=>{this.style.visibility="inherit",i.style.width=`${n.width}px`,i.style.height=`${n.height}px`,/^((?!chrome|android).)*safari/i.test(navigator?.userAgent)&&(i.style.setProperty("transform","translateZ(0)"),requestAnimationFrame(()=>{i.style.removeProperty("transform")}))})}}}window.customElements.define(e3,e)}let te=e=>{let{className:t,isFitMode:n,imageWidth:a,imageHeight:r,children:s}=e;return n?(0,i.jsx)("gallery-image-sizer",{class:o(t,"FZZf7m"),"data-image-width":a,"data-image-height":r,children:s}):(0,i.jsx)("div",{className:t,children:s})},tt=e=>{let{dataId:t,title:a,description:r,link:s,image:l,itemId:c,skinsStyle:d,extraClassNames:u,imageOnClickAction:h,openImageZoom:p=()=>{},translations:g,alignTextRight:f,itemClickHandler:_,imageMode:E,dataTestId:x,panelInImageWrapper:b,hasTransition:y}=e,v=n.useCallback(()=>p(t),[t,p]),I=(0,i.jsxs)("div",{"data-testid":"gallery-item-panel",className:o(d.panel,u.panel),children:[(0,i.jsx)("div",{"data-testid":"gallery-item-title",className:d.title,children:a}),(0,i.jsx)("p",{"data-testid":"gallery-item-description",className:d.description,children:r})]});return(0,i.jsx)("div",{className:o(d.root,u.root,m("gallery__item"),{[d.textAlignmentRight]:f}),"data-testid":x,"data-image-mode":E,"data-has-transition":y&&"flexibleWidthFixed"===E?"true":"false",onClick:_,children:(0,i.jsxs)(e8,{imageOnClickAction:h,openImageZoom:v,imgTitle:l.title||"",link:s,imgAlt:l.alt,itemId:c,skinsStyle:d,translations:g,children:["flexibleHeight"===E&&(0,i.jsx)("svg",{className:d.aspectRatioSizer,viewBox:`0 0 ${l.width} ${l.height}`}),(0,i.jsx)(te,{className:d.imageSizer,isFitMode:"flexibleWidthFixed"===E,imageWidth:l.width,imageHeight:l.height,children:(0,i.jsxs)("div",{className:d.imageWrapper,children:[(0,i.jsx)("div",{className:d.imageBorder,children:(0,i.jsx)(e6,{className:d.image,id:`img_${l.containerId}`,...l,alt:l.alt||l.title,displayMode:"fill"})}),b&&I]})}),!b&&I]})})},ti=e=>{let{skinsStyle:t,currentIndex:n=0,itemsLength:a=0}=e;return(0,i.jsx)("div",{"data-testid":"gallery-counter",className:t.counter,children:`${n+1}/${a}`})},tn=e=>{let{translations:t,skinsStyle:n,moveToPrevItem:a,moveToNextItem:r,withCounter:s=!1,currentIndex:l,itemsLength:c,reverse:d,buttonPrevContent:u,buttonNextContent:h}=e;return(0,i.jsxs)("nav",{"aria-label":t.navigationButtonAriaLabel,className:n.navButtons,"data-testid":"gallery-navButtons",children:[(0,i.jsx)("button",{className:o(n.navButton,n.buttonPrev),"data-testid":"gallery-prevButton",type:"button","aria-label":d?t.nextButtonAriaLabel:t.prevButtonAriaLabel,onClick:d?r:a,children:(0,i.jsx)("span",{className:n.arrow,"data-testid":"gallery-prevButtonInner",role:"presentation","aria-hidden":"true",children:u})}),s&&(0,i.jsx)(ti,{skinsStyle:n,currentIndex:l,itemsLength:c}),(0,i.jsx)("button",{className:o(n.navButton,n.buttonNext),"data-testid":"gallery-nextButton",type:"button","aria-label":d?t.prevButtonAriaLabel:t.nextButtonAriaLabel,onClick:d?a:r,children:(0,i.jsx)("span",{className:n.arrow,"data-testid":"gallery-nextButtonInner",role:"presentation","aria-hidden":"true",children:h})})]})};function ta(e,t){if(null==e)return{};var i={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;i[n]=e[n]}return i}function tr(){return(tr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{reverse:t,...n}=e;return(0,i.jsx)(tT,{...n,classNames:{enter:"XWeqiF",enterActive:"bWoigz",exit:"HTrn1j",exitActive:"sAGPNe"},children:e.children})},OutIn:e=>{let{reverse:t,...n}=e;return(0,i.jsx)(tT,{...n,classNames:{enter:"cCFKrw",enterActive:"yifJnQ",exit:"_mj5qU",exitActive:"gG6uhp"},children:e.children})},SlideHorizontal:e=>{let{reverse:t,...n}=e;return(0,i.jsx)(tT,{...n,classNames:t?{enter:"JMRv7x",enterActive:"AOzCGi",exit:"WzSMGx",exitActive:"I76Pz6"}:{enter:"k0CnHT",enterActive:"URQNsX",exit:"CCwVTE",exitActive:"TX_1qK"},children:e.children})},SlideVertical:e=>{let{reverse:t,...n}=e;return(0,i.jsx)(tT,{...n,classNames:t?{enter:"NrDww4",enterActive:"ciVV17",exit:"BMKrqh",exitActive:"jNxMkI"}:{enter:"bX95uQ",enterActive:"Ogwj62",exit:"GdyWfW",exitActive:"YxqFze"},children:e.children})}},tC=e=>{let t=tL[e.type],{type:n,...a}=e;return(0,i.jsx)(t,{...a})},tA=e=>{let{skinsStyle:t,currentIndex:a=0,isPlaying:r,transition:s,transitionDuration:o,reverse:l,onTransitionEnd:c,children:d}=e;return"NoTransition"===s?(0,i.jsx)("div",{"data-testid":x,"aria-live":r?"off":"polite",className:t.itemsContainer,children:d}):(0,i.jsx)(th,{"data-testid":x,className:t.itemsContainer,"aria-live":r?"off":"polite",childFactory:e=>n.cloneElement(e,{reverse:l}),children:(0,i.jsx)(tC,{type:s,timeout:o,onExited:c,unmountOnExit:!0,children:d},a)})},tS=()=>{},tk=(e,t)=>0===e?t-1:e-1,tN=(e,t)=>e===t-1?0:e+1,tO=(e,t)=>[tk(e,t),e,tN(e,t)],tR=n.forwardRef((e,t)=>{var a,r;let s,{id:l,className:c,customClassNames:d=[],items:u,skinsStyle:p,skinsItemStyle:g,currentIndex:f,setCurrentIndex:_,onCurrentItemChanged:x,overlay:y,autoPlay:v,autoPlayInterval:I,setAutoPlay:w,reducedMotion:T,transition:L,transitionDuration:C,openImageZoom:A=tS,onMouseEnter:S=tS,onMouseLeave:k=tS,imageOnClickAction:N,showAutoplay:O,showNavigation:R,showCounter:M,translations:G,onNavigationEnd:j,onPlay:F=tS,onPause:P=tS,isPlaying:$=v&&u.length>1&&!T,transitionReverse:Y,alignTextRight:z,onItemClicked:B,renderNavigationButtonsInHelpers:D=!1,imageMode:U,panelInImageWrapper:H,getPlaceholder:Z}=e,V=n.useRef(null),W=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],[i,a]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if("function"!=typeof window.IntersectionObserver)return a(t),()=>{};let i=e.current;if(i&&"function"==typeof window.IntersectionObserver){let e=new window.IntersectionObserver(e=>{a(e[e.length-1].isIntersecting)});return e.observe(i),()=>{e.disconnect()}}return()=>{}},[e,t]),i}(V),q=$&&W,[K,X]=n.useState(!1),Q="NoTransition"!==L,J=u[f];J&&(J.image.getPlaceholder=Z);let[ee,et]=n.useState(!1),ei=n.useCallback(e=>{_(e),x?.({type:"imageChanged",itemIndex:e}),j&&j(e)},[_,x,j]),en=n.useCallback(e=>{K||(X(!0),_(e),x?.({type:"imageChanged",itemIndex:e}))},[K,_,x]),ea=n.useCallback(()=>{X(!1),j&&j(f)},[f,X,j]),er=n.useCallback(e=>Q?en(e):ei(e),[ei,en,Q]),es=n.useCallback(()=>{let e=tN(f,u.length);return et(!1),er(e)},[u.length,f,er]),eo=n.useCallback(()=>{let e=tk(f,u.length);return et(!0),er(e)},[u.length,f,er]),el=n.useCallback(()=>{F?.({type:"autoplayOn"}),w(!0)},[F,w]),ec=n.useCallback(()=>{P?.({type:"autoplayOff"}),w(!1)},[P,w]);E("onSwipeLeft",Y?eo:es,V),E("onSwipeRight",Y?es:eo,V),a=Y?eo:es,r=q?I:null,s=(0,n.useRef)(()=>{}),(0,n.useEffect)(()=>{s.current=a},[a]),(0,n.useEffect)(()=>{if(null!==r){let e=setInterval(function(){s.current()},r);return()=>clearInterval(e)}return()=>{}},[r]),n.useImperativeHandle(t,()=>({next:es,previous:eo,play:el,pause:ec}),[es,eo,el,ec]);let ed=n.useRef({currentIndex:f,items:u,indexes:new Set(tO(f,u.length))});if(ed.current.items!==u)ed.current={currentIndex:f,items:u,indexes:new Set(tO(f,u.length))};else if(ed.current.currentIndex!==f)for(let e of(ed.current={currentIndex:f,items:u,indexes:ed.current.indexes},tO(f,u.length)))ed.current.indexes.add(e);let eu=u.map((e,t)=>({item:e,originalIndex:t})).filter(e=>{let{originalIndex:t}=e;return ed.current.indexes.has(t)}).map(e=>{let{item:t,originalIndex:n}=e;return t.image.getPlaceholder=Z,(0,i.jsx)(tt,{dataTestId:"gallery-item-ghost",itemClickHandler:tS,skinsStyle:g,extraClassNames:{root:p.item,panel:p.panel},itemId:`item-${n}-${l}`,imageOnClickAction:N,openImageZoom:tS,translations:G,alignTextRight:z,imageMode:U,panelInImageWrapper:H,...t},`item-${n}`)});return(0,i.jsxs)("div",{...h(e),onMouseEnter:S,onMouseLeave:k,id:l,"data-testid":"slide-show-gallery","data-image-mode":U,ref:V,role:"region","aria-label":G.galleryAriaLabel,className:o(p.root,c,m("gallery",...d),{[p.textAlignmentRight]:z}),onKeyDown:e=>{39===e.keyCode?es():37===e.keyCode&&eo()},children:[(0,i.jsx)("div",{className:p.ghostItems,children:eu}),R&&!D&&(0,i.jsx)(tn,{translations:G,skinsStyle:p,moveToPrevItem:eo,moveToNextItem:es,reverse:Y,withCounter:!1}),J&&(0,i.jsx)(tA,{skinsStyle:p,currentIndex:f,isPlaying:q,transition:L,transitionDuration:C,reverse:ee,onTransitionEnd:ea,children:(0,i.jsx)(tt,{dataTestId:"gallery-item-item",itemClickHandler:()=>{B?.({itemIndex:f,type:"itemClicked"})},skinsStyle:g,extraClassNames:{root:p.item,panel:p.panel},imageOnClickAction:N,openImageZoom:e=>{q?(ec(),A(e,l,el)):A(e,l)},translations:G,alignTextRight:z,imageMode:U,hasTransition:Q,itemId:`item-current-${f}-${l}`,panelInImageWrapper:H,...J},"flexibleWidthFixed"===U?`item-${f}${J.title}`:void 0)}),(0,i.jsxs)("div",{className:p.helpers,children:[O&&(0,i.jsx)("button",{className:o(p.playButton,q?p.autoplayOn:p.autoplayOff),"data-testid":b,"data-hook":v?"slide-show-gallery-pauseButton":b,type:"button","aria-label":G.platButtonAriaLabel,"aria-pressed":q,onClick:()=>{v?ec():el()},children:(0,i.jsx)("span",{className:p.playIcon,"data-testid":"slide-show-gallery-playButtonInner",role:"presentation","aria-hidden":"true"})}),R&&D?(0,i.jsx)(tn,{translations:G,skinsStyle:p,moveToPrevItem:eo,moveToNextItem:es,reverse:Y,withCounter:M,currentIndex:f,itemsLength:u.length}):M?(0,i.jsx)(ti,{skinsStyle:p,currentIndex:f,itemsLength:u.length}):null]}),y]})}),tM={root:"VPxyrq",itemClickWrapper:"tBvGO_",imageSizer:"GGrMen",imageBorder:"BjsRFe",image:"qe8C8R",imageWrapper:"GFPnbE",aspectRatioSizer:"fH6HUG",imageLink:"VVVS7w",imageZoomBtn:"osdCDk",textAlignmentRight:"QkCusJ",panel:"WZaXPO",title:"n_vCVs",description:"HmGfC6"},tG={forceShowButtons:"uKPNoh",root:"axNURf",itemsContainer:"_4Ew0y",item:"Iy04gM",navButtons:"H6nx0l",navButton:"KLUNta",playButton:"NhBbo0",playIcon:"E5QBTG",ghostItems:"ch_6Zw",ghostItem:"Z18F2_",buttonPrev:"iV0aie",buttonNext:"dSFTPe",border:"ZejTaH",arrow:"Ti2qda",helpers:"Sno7tc",counter:"O3MejB",autoplayOff:"Jn2XzA",autoplayOn:"g7Y4l4",panel:"t52Ivm",textAlignmentRight:"jKF378"},tj={SlideShowGallery_SlideShowCleanAndSimple:{component:n.forwardRef((e,t)=>(0,i.jsx)(tR,{ref:t,...e,skinsStyle:tG,skinsItemStyle:tM,overlay:(0,i.jsx)("div",{className:tG.border}),panelInImageWrapper:!0})),controller:(e=e=>{let{mapperProps:t,controllerUtils:i}=e;return{...t,setCurrentIndex:e=>{i.updateProps({currentIndex:e})},setAutoPlay:e=>{i.updateProps({autoPlay:e})}}},{useComponentProps:(t,i,n)=>e({mapperProps:t,stateValues:i,controllerUtils:{...n,updateStyles:e=>{let t=Object.entries(e).reduce((e,[t,i])=>({...e,[t.startsWith("--")?t:t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)]:void 0===i?null:i}),{});n.updateStyles(t)}}})})}}})(),r})());